package com.permissionmanager.service;

import com.permissionmanager.entity.Notice;
import com.permissionmanager.entity.Page;

import java.util.List;

/**
 * notice业务层接口
 *
 */
public interface NoticeService {

    void add(Notice notice);

    void update(Notice notice);

    Page<Notice> findPage(Integer skipNum, Integer pageSize, String title, String username);

    void del(Integer id);


    List<Notice> findNotice(List<Integer> idsArr, String title, String username,Integer open);
}
